﻿using System;
using wojilu.ORM;

namespace wojilu.Apps.Qycms.Domain
{
    [Table("ybb_form_value")]
    [Serializable]
    public class Form_Value : ObjectBase<Form_Value>
    {
        [Column(Length = 11), NotNull(""), Default(0)]
        public Int64 fgid { get; set; }

        [Column(Length = 11), NotNull(""), Default(0)]
        public Int64 did { get; set; }

        [Column(Length = 11), NotNull(""), Default(0)]
        public Int64 userid { get; set; }

        [NotNull("")]
        public DateTime addtime { get; set; }

        public DateTime retime { get; set; }

        [NotNull(""), Column(Length = 11), Default("")]
        public String ipadd { get; set; }

        [TinyInt, Column(Length = 1), NotNull(""), Default(0)]
        public Int32 isreply { get; set; }

        [Column(Length = 50)]
        public String username { get; set; }

        [LongText]
        public String recontent { get; set; }

    }
}
